<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::BudgetTag Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d0/db3/classns3_1_1_budget_tag.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../da/dce/classns3_1_1_budget_tag-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::BudgetTag Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>This class implements a tag that carries the budget time of a packet to the IP layer.  
 <a href="../../d0/db3/classns3_1_1_budget_tag.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ns3::BudgetTag:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d2/da7/classns3_1_1_budget_tag__inherit__graph.png" border="0" usemap="#ans3_1_1_budget_tag_inherit__map" alt="Inheritance graph"/></div>
<map name="ans3_1_1_budget_tag_inherit__map" id="ans3_1_1_budget_tag_inherit__map">
<area shape="rect" title="This class implements a tag that carries the budget time of a packet to the IP layer." alt="" coords="5,79,127,104"/>
<area shape="rect" href="../../d0/d57/class_tag.html" title=" " alt="" coords="44,5,88,31"/>
<area shape="poly" title=" " alt="" coords="69,44,69,79,63,79,63,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ns3::BudgetTag:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../df/d71/classns3_1_1_budget_tag__coll__graph.png" border="0" usemap="#ans3_1_1_budget_tag_coll__map" alt="Collaboration graph"/></div>
<map name="ans3_1_1_budget_tag_coll__map" id="ans3_1_1_budget_tag_coll__map">
<area shape="rect" title="This class implements a tag that carries the budget time of a packet to the IP layer." alt="" coords="8,93,129,119"/>
<area shape="rect" href="../../d0/d57/class_tag.html" title=" " alt="" coords="5,5,49,31"/>
<area shape="poly" title=" " alt="" coords="41,42,65,92,61,94,36,44"/>
<area shape="rect" title=" " alt="" coords="74,5,149,31"/>
<area shape="poly" title=" " alt="" coords="102,44,77,94,72,92,97,42"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a426c86d1b91b52427496480fe9811bb9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a426c86d1b91b52427496480fe9811bb9">BudgetTag</a> ()</td></tr>
<tr class="separator:a426c86d1b91b52427496480fe9811bb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f5f59a6ce7c2f85f704590b33e501f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a3f5f59a6ce7c2f85f704590b33e501f8">Deserialize</a> (TagBuffer <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) override</td></tr>
<tr class="separator:a3f5f59a6ce7c2f85f704590b33e501f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6b06a85217e94b7b12bb66a000d500b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#ac6b06a85217e94b7b12bb66a000d500b">GetBudget</a> (void) const</td></tr>
<tr class="memdesc:ac6b06a85217e94b7b12bb66a000d500b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the tag's budget.  <br /></td></tr>
<tr class="separator:ac6b06a85217e94b7b12bb66a000d500b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1b22a8364cacd992bc0efc352eac3c"><td class="memItemLeft" align="right" valign="top">TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a2b1b22a8364cacd992bc0efc352eac3c">GetInstanceTypeId</a> (void) const override</td></tr>
<tr class="separator:a2b1b22a8364cacd992bc0efc352eac3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcda90baa83ae04da0226dec7e77cb75"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#afcda90baa83ae04da0226dec7e77cb75">GetSerializedSize</a> (void) const override</td></tr>
<tr class="separator:afcda90baa83ae04da0226dec7e77cb75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a515951edc1516e9ef77342d131a7f21c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a515951edc1516e9ef77342d131a7f21c">Print</a> (std::ostream &amp;os) const override</td></tr>
<tr class="separator:a515951edc1516e9ef77342d131a7f21c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8120852e30e8090baa41834fcb604079"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a8120852e30e8090baa41834fcb604079">Serialize</a> (TagBuffer <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) const override</td></tr>
<tr class="separator:a8120852e30e8090baa41834fcb604079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42dfab1331f4f1bb1953c1ec972ab0bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a42dfab1331f4f1bb1953c1ec972ab0bb">SetBudget</a> (uint32_t <a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#ac227e7913dd74f3b2206f24629c85912">m_budget</a>)</td></tr>
<tr class="memdesc:a42dfab1331f4f1bb1953c1ec972ab0bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the tag's budget.  <br /></td></tr>
<tr class="separator:a42dfab1331f4f1bb1953c1ec972ab0bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7558a61f1292bf614d9016377c8f7162"><td class="memItemLeft" align="right" valign="top">static TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#a7558a61f1292bf614d9016377c8f7162">GetTypeId</a> (void)</td></tr>
<tr class="memdesc:a7558a61f1292bf614d9016377c8f7162"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the type ID.  <br /></td></tr>
<tr class="separator:a7558a61f1292bf614d9016377c8f7162"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac227e7913dd74f3b2206f24629c85912"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html#ac227e7913dd74f3b2206f24629c85912">m_budget</a></td></tr>
<tr class="separator:ac227e7913dd74f3b2206f24629c85912"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class implements a tag that carries the budget time of a packet to the IP layer. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00017">17</a> of file <a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a426c86d1b91b52427496480fe9811bb9" name="a426c86d1b91b52427496480fe9811bb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a426c86d1b91b52427496480fe9811bb9">&#9670;&#160;</a></span>BudgetTag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ns3::BudgetTag::BudgetTag </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00022">22</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3f5f59a6ce7c2f85f704590b33e501f8" name="a3f5f59a6ce7c2f85f704590b33e501f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f5f59a6ce7c2f85f704590b33e501f8">&#9670;&#160;</a></span>Deserialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::BudgetTag::Deserialize </td>
          <td>(</td>
          <td class="paramtype">TagBuffer&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00073">73</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00056">m_budget</a>.</p>

</div>
</div>
<a id="ac6b06a85217e94b7b12bb66a000d500b" name="ac6b06a85217e94b7b12bb66a000d500b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6b06a85217e94b7b12bb66a000d500b">&#9670;&#160;</a></span>GetBudget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::BudgetTag::GetBudget </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the tag's budget. </p>
<dl class="section return"><dt>Returns</dt><dd>the budget in millisecond </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00035">35</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00056">m_budget</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00253">ns3::Ipv4DGRRouting::LookupDGRRoute()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/db3/classns3_1_1_budget_tag_ac6b06a85217e94b7b12bb66a000d500b_icgraph.png" border="0" usemap="#ad0/db3/classns3_1_1_budget_tag_ac6b06a85217e94b7b12bb66a000d500b_icgraph" alt=""/></div>
<map name="ad0/db3/classns3_1_1_budget_tag_ac6b06a85217e94b7b12bb66a000d500b_icgraph" id="ad0/db3/classns3_1_1_budget_tag_ac6b06a85217e94b7b12bb66a000d500b_icgraph">
<area shape="rect" title="Get the tag&#39;s budget." alt="" coords="421,45,620,70"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a552819000c07190404d6bd5db6d1ce84" title=" " alt="" coords="213,37,373,77"/>
<area shape="poly" title=" " alt="" coords="407,60,374,60,374,55,407,55"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7e7c34d7e0a922980bf3fdf62f9bbe1b" title=" " alt="" coords="5,5,165,45"/>
<area shape="poly" title=" " alt="" coords="199,46,165,40,166,35,200,40"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa949f02ca52008f8201ee9915fdd0191" title=" " alt="" coords="5,69,165,109"/>
<area shape="poly" title=" " alt="" coords="200,74,166,80,165,74,199,69"/>
</map>
</div>

</div>
</div>
<a id="a2b1b22a8364cacd992bc0efc352eac3c" name="a2b1b22a8364cacd992bc0efc352eac3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b1b22a8364cacd992bc0efc352eac3c">&#9670;&#160;</a></span>GetInstanceTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::BudgetTag::GetInstanceTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00052">52</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00042">GetTypeId()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/db3/classns3_1_1_budget_tag_a2b1b22a8364cacd992bc0efc352eac3c_cgraph.png" border="0" usemap="#ad0/db3/classns3_1_1_budget_tag_a2b1b22a8364cacd992bc0efc352eac3c_cgraph" alt=""/></div>
<map name="ad0/db3/classns3_1_1_budget_tag_a2b1b22a8364cacd992bc0efc352eac3c_cgraph" id="ad0/db3/classns3_1_1_budget_tag_a2b1b22a8364cacd992bc0efc352eac3c_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,212,45"/>
<area shape="rect" href="../../d0/db3/classns3_1_1_budget_tag.html#a7558a61f1292bf614d9016377c8f7162" title="Get the type ID." alt="" coords="260,13,455,38"/>
<area shape="poly" title=" " alt="" coords="212,23,246,23,246,28,212,28"/>
</map>
</div>

</div>
</div>
<a id="afcda90baa83ae04da0226dec7e77cb75" name="afcda90baa83ae04da0226dec7e77cb75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcda90baa83ae04da0226dec7e77cb75">&#9670;&#160;</a></span>GetSerializedSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::BudgetTag::GetSerializedSize </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00058">58</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

</div>
</div>
<a id="a7558a61f1292bf614d9016377c8f7162" name="a7558a61f1292bf614d9016377c8f7162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7558a61f1292bf614d9016377c8f7162">&#9670;&#160;</a></span>GetTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::BudgetTag::GetTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the type ID. </p>
<dl class="section return"><dt>Returns</dt><dd>the object TypeId </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00042">42</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00052">GetInstanceTypeId()</a>.</p>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/db3/classns3_1_1_budget_tag_a7558a61f1292bf614d9016377c8f7162_icgraph.png" border="0" usemap="#ad0/db3/classns3_1_1_budget_tag_a7558a61f1292bf614d9016377c8f7162_icgraph" alt=""/></div>
<map name="ad0/db3/classns3_1_1_budget_tag_a7558a61f1292bf614d9016377c8f7162_icgraph" id="ad0/db3/classns3_1_1_budget_tag_a7558a61f1292bf614d9016377c8f7162_icgraph">
<area shape="rect" title="Get the type ID." alt="" coords="260,13,455,38"/>
<area shape="rect" href="../../d0/db3/classns3_1_1_budget_tag.html#a2b1b22a8364cacd992bc0efc352eac3c" title=" " alt="" coords="5,5,212,45"/>
<area shape="poly" title=" " alt="" coords="246,28,212,28,212,23,246,23"/>
</map>
</div>

</div>
</div>
<a id="a515951edc1516e9ef77342d131a7f21c" name="a515951edc1516e9ef77342d131a7f21c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a515951edc1516e9ef77342d131a7f21c">&#9670;&#160;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::BudgetTag::Print </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00082">82</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00056">m_budget</a>.</p>

</div>
</div>
<a id="a8120852e30e8090baa41834fcb604079" name="a8120852e30e8090baa41834fcb604079"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8120852e30e8090baa41834fcb604079">&#9670;&#160;</a></span>Serialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::BudgetTag::Serialize </td>
          <td>(</td>
          <td class="paramtype">TagBuffer&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00065">65</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00056">m_budget</a>.</p>

</div>
</div>
<a id="a42dfab1331f4f1bb1953c1ec972ab0bb" name="a42dfab1331f4f1bb1953c1ec972ab0bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42dfab1331f4f1bb1953c1ec972ab0bb">&#9670;&#160;</a></span>SetBudget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::BudgetTag::SetBudget </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>m_budget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the tag's budget. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">budget</td><td>the delay budget in millisecond </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00028">28</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00056">m_budget</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00219">ns3::DGRTcpApplication::SendData()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">ns3::DGRUdpApplication::SendPacket()</a>.</p>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/db3/classns3_1_1_budget_tag_a42dfab1331f4f1bb1953c1ec972ab0bb_icgraph.png" border="0" usemap="#ad0/db3/classns3_1_1_budget_tag_a42dfab1331f4f1bb1953c1ec972ab0bb_icgraph" alt=""/></div>
<map name="ad0/db3/classns3_1_1_budget_tag_a42dfab1331f4f1bb1953c1ec972ab0bb_icgraph" id="ad0/db3/classns3_1_1_budget_tag_a42dfab1331f4f1bb1953c1ec972ab0bb_icgraph">
<area shape="rect" title="Set the tag&#39;s budget." alt="" coords="687,159,883,185"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a5d97018a7a55030432c7bd4941439224" title="Send data until the L4 transmission buffer is full." alt="" coords="461,92,635,132"/>
<area shape="poly" title=" " alt="" coords="720,158,627,135,628,129,721,153"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a844392732fe5f6e197992c862c4151db" title="Send a packet" alt="" coords="457,184,639,224"/>
<area shape="poly" title=" " alt="" coords="678,189,639,194,639,189,677,184"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a240d181619fe26fa934e3e152c153696" title="Connection Succeeded (called by Socket through a callback)" alt="" coords="231,5,406,45"/>
<area shape="poly" title=" " alt="" coords="480,89,372,48,374,43,482,85"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad3f18ec72baf186800e72eed654eac2c" title=" " alt="" coords="5,63,180,103"/>
<area shape="poly" title=" " alt="" coords="447,108,180,91,180,86,447,103"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad6e628629f8e191964b873fed001a902" title="Send more data as soon as some has been transmitted." alt="" coords="231,120,406,160"/>
<area shape="poly" title=" " alt="" coords="447,127,406,132,406,127,447,122"/>
<area shape="poly" title=" " alt="" coords="227,51,173,65,171,60,226,46"/>
<area shape="poly" title=" " alt="" coords="226,119,171,105,173,100,227,114"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a217460003efed056634b84d512c0f47b" title="Schedule a new transmission." alt="" coords="228,184,409,224"/>
<area shape="poly" title=" " alt="" coords="443,216,410,215,410,210,443,210"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ada9c016c08e91a65da084c790acd4618" title=" " alt="" coords="228,248,409,288"/>
<area shape="poly" title=" " alt="" coords="463,230,392,251,390,245,462,225"/>
<area shape="poly" title=" " alt="" coords="423,192,457,193,457,198,423,198"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac227e7913dd74f3b2206f24629c85912" name="ac227e7913dd74f3b2206f24629c85912"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac227e7913dd74f3b2206f24629c85912">&#9670;&#160;</a></span>m_budget</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::BudgetTag::m_budget</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00056">56</a> of file <a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00073">Deserialize()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00035">GetBudget()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00082">Print()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00065">Serialize()</a>, and <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00028">SetBudget()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a></li>
<li>model/<a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d0/db3/classns3_1_1_budget_tag.html">BudgetTag</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
